<?php
class StyleLoader {
    
    private $stylesPath;
    private $stylesArray;
    
    function __construct($stylesPath,$stylesArray)
    {
        $this->stylesPath = $stylesPath;
        $this->stylesArray = $stylesArray;
    }
    
    function deploy()
    {
        foreach ($this->stylesArray as $style)
        {
            echo '<link href="'.$this->stylesPath.$style.'" rel="stylesheet" type="text/css" />';
        }
    }
}

?>
